Trees | Index | Help |
|
---|
Package phones :: Module com_lgg4015 :: Class Phone |
|
object
--+ |Phone
--+ |Phone
--+ | Phone
Phone
Method Summary | |
---|---|
__init__(self,
logtarget,
commport)
| |
Set the phone charset to some form of ascii | |
Set the phone charset to Base64 (for binary transmission) | |
detectphone(_,
coms,
likely_ports,
res,
_module,
_log)
(Class method) | |
get_detect_data(self,
r)
| |
getcalendar(self,
result)
| |
Gets information fundamental to interoperating with the phone and UI. | |
Reads the phonebook data. | |
getringtones(self,
result)
| |
getwallpapers(self,
result)
| |
is_mode_modem(self)
| |
savecalendar(self,
dict,
merge)
| |
savememo(self,
result,
merge)
| |
Saves out the phonebook | |
saveringtones(self,
result,
merge)
| |
savewallpapers(self,
result,
merge)
| |
Add one media ringtone | |
_add_ringtones(self,
names,
name_dict,
media)
| |
_add_wallpapers(self,
names,
name_dict,
media)
| |
_build_bp_entry(self,
entry,
groups,
in_sim)
| |
_build_bpcalendar_entry(self,
phone_entry)
| |
_build_main_entry(self,
entry,
groups)
| |
_build_phone_cal_entry(self,
entry_count,
bpentry)
| |
_build_sim_entry(self,
entry,
groups)
| |
_del_media_files(self,
names)
| |
_get_groups(self)
| |
_get_history_calls(self,
log_str,
call_type,
min_idx,
max_idx)
| |
return a dict of contacts read off the phone storage area | |
Return the ringtone index | |
return a dict of contacts read off the phone SIM card | |
Return the wallpaper index | |
Return True if this entry has the sim flag set, indicating that it should be stored on the SIM card. | |
_lookup_group(self,
entry,
groups)
| |
_process_sms(self,
_resp,
res)
| |
_ringtone_mode(self)
| |
got the the phonebook dict and write them out to the phone | |
got the the phonebook dict and write them out to the phone | |
_wallpaper_mode(self)
| |
Inherited from Phone | |
| |
| |
| |
| |
| |
Similar to the sendpbcommand in com_sanyo and com_lg, except that a list of responses is returned, one per line of information returned from the phone | |
| |
Inherited from Phone | |
Raises an alert in the main thread | |
| |
getcallhistory(self,
result)
| |
getmemo(self,
result)
| |
getsms(self,
result)
| |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
dict |
cal_repeat_value = {1: 'daily', 2: 'weekly', 3: 'monthly...
|
dict |
cal_repeat_value_r = {'monthly': 3, 'yearly': 4, 'daily'...
|
str |
desc = 'LG-G4015'
|
str |
helpid = 'phone-lgg4015.htm'
|
str |
serialsname = 'lgg4015'
|
Inherited from Phone | |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
Instance Method Details |
---|
charset_ascii(self)Set the phone charset to some form of ascii |
charset_base64(self)Set the phone charset to Base64 (for binary transmission) |
getfundamentals(self, results)Gets information fundamental to interoperating with the phone and UI. Currently this is:
|
getphonebook(self, result)Reads the phonebook data. Thegetfundamentals information will already
be in result.
|
savephonebook(self, data)Saves out the phonebook |
_add_media_file(self, file_name, media_name, media_code, data)Add one media ringtone |
_get_main_phonebook(self, groups)return a dict of contacts read off the phone storage area |
_get_ringtone_index(self)Return the ringtone index |
_get_sim_phonebook(self, groups)return a dict of contacts read off the phone SIM card |
_get_wallpaper_index(self)Return the wallpaper index |
_in_sim(self, entry)Return True if this entry has the sim flag set, indicating that it should be stored on the SIM card. |
_save_main_phonebook(self, entries, groups)got the the phonebook dict and write them out to the phone |
_save_sim_phonebook(self, entries, groups)got the the phonebook dict and write them out to the phone |
Class Variable Details |
---|
cal_repeat_value
|
cal_repeat_value_r
|
desc
|
helpid
|
serialsname
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:30 2008 | http://epydoc.sf.net |